package com.nercel.dsj.gksales.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author sunlin
 * @date 2018-11-30
 */
@Data
@ApiModel(value = "角色参数DTO")
public class RoleParamsDTO {

    @ApiModelProperty(value = "ID")
    private Integer id;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "标识")
    private String role;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "权限ID数组")
    private List<Integer> permissions;

}
